import request from '@/utils/request'

// 查询T7品牌销售总览日报列表
export function synchroBrandData(query) {
  return request({
    url: '/product/BiBrandSaleDwd/brandSynchroData',
    method: 'get',
    params: query
  })
}

// 查询T7品牌销售总览日报列表
export function listBiBrandSaleDwd(query) {
  return request({
    url: '/product/BiBrandSaleDwd/list',
    method: 'get',
    params: query
  })
}

// 查询T7品牌销售总览日报详细
export function getBiBrandSaleDwd(id) {
  return request({
    url: '/product/BiBrandSaleDwd/' + id,
    method: 'get'
  })
}

// 新增T7品牌销售总览日报
export function addBiBrandSaleDwd(data) {
  return request({
    url: '/product/BiBrandSaleDwd',
    method: 'post',
    data: data
  })
}

// 修改T7品牌销售总览日报
export function updateBiBrandSaleDwd(data) {
  return request({
    url: '/product/BiBrandSaleDwd',
    method: 'put',
    data: data
  })
}

// 删除T7品牌销售总览日报
export function delBiBrandSaleDwd(id) {
  return request({
    url: '/product/BiBrandSaleDwd/' + id,
    method: 'delete'
  })
}
